﻿
using Imtihan.Web;
using System;
using System.Collections.Generic;
namespace Imtihan
{
    public class UserManager
    {
        private static User _user = null;
        private static List<Role> _roles = null;

        public static User Instance
        {
            get
            {
                return _user;
            }

            internal set
            {
                _user = value;
            }
        }

        public static List<Role> Roles
        {
            get
            {
                return _roles;
            }

            internal set
            {
                _roles = value;
            }
        }
    }

    public class ApplicationManager
    {
        private static string _applicationName = null;

        public static string ApplicationName
        {
            get
            {
                return _applicationName;
            }

            internal set
            {
                _applicationName = value;
            }
        }
    }
}
